<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>购物车</title>
<link rel="stylesheet" href="car.css">
</head>

<body>
<button id="btn">创建表格</button>
<button id="clear">清空购物车</button>
<table>
	<thead>
		<tr>
			<th>
				<input type="checkbox" id="all">
			</th>
			<th>商品名称</th>
			<th>商品数量</th>
			<th>商品单价</th>
			<th>小计</th>
			<th>操作</th>
		</tr>
	</thead>
	<tbody>
	</tbody>
</table>
<p>总计：<span class="total">0</span></p>

<script type="text/javascript" charset="utf-8" src="car.js"></script>
</body>
</html>